﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="grades.aspx.vb" Inherits="week2.grades" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:TextBox ID="txt_mark" runat="server"></asp:TextBox>
    <asp:RangeValidator ID="checkmark" runat="server" ControlToValidate="txt_mark" 
        ErrorMessage="must be between 0 and 100" MaximumValue="100" MinimumValue="0" 
        Type="Integer"></asp:RangeValidator>
    <br />
    <br />  <br />
    <asp:Button ID="Button1" runat="server" Text="Calculate Grade" />
    <br />
    <br />  <br />
    <asp:Label ID="lbl_grade" runat="server"></asp:Label>
</asp:Content>
